package xiao_jin.fantastic_journey.client.mixin;

import net.minecraft.client.render.entity.model.CrossbowPosing;
import org.spongepowered.asm.mixin.Mixin;

@Mixin(CrossbowPosing.class)
public class CrossbowPosingMixin {
	/*
	@Inject(method = "charge", at = @At("TAIL"))
    private static void charge(ModelPart holdingArm, ModelPart pullingArm, LivingEntity actor, boolean rightArmed, CallbackInfo ci) {
		ModelPart modelPart2 = rightArmed ? pullingArm : holdingArm;
		float f1 = (float) EndBreathing.getPullTime(actor.getActiveItem(), actor);
		float g = MathHelper.clamp((float)actor.getItemUseTime(), 0.0F, f1);
		float h1 = g / f1;
		modelPart2.yaw = MathHelper.lerp(h1, 0.4F, 0.85F) * (float)(rightArmed ? 1 : -1);
		modelPart2.pitch = MathHelper.lerp(h1, modelPart2.pitch, (float) (-Math.PI / 2));
	}
	*/
}
